package com.drug.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;

/**
 * 报损报溢细单对象 bus_overflow_order_details
 * 
 * @author ruoyi
 * @date 2021-12-05
 */
@Data
public class BusOverflowOrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty("id")
    private String id;

    /** 损溢单id */
    @Excel(name = "损溢单id")
    @ApiModelProperty("损溢单id")
    private String orderId;

    /** 损溢单id */
    @Excel(name = "库存id")
    @ApiModelProperty("库存id")
    private String skuStockId;

    /** 损益单类型 */
    @Excel(name = "损益单类型 损益单类型 0：报损 1:报溢")
    @ApiModelProperty("损益单类型 损益单类型 0：报损 1:报溢")
    private Integer dataType;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String warehouseNo;

    /** 商品编码 */
    @Excel(name = "商品编码")
    @ApiModelProperty("商品编码")
    private String skuId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty(name = "商品名称")
    private String goodsName;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(name = "单位")
    private String unit;

    /** 基本单位 */
    @Excel(name = "基本单位")
    @ApiModelProperty(name = "基本单位")
    private String baseUnit;

    /** 基本单位 */
    @Excel(name = "货品状态")
    @ApiModelProperty(name = "货品状态")
    private Integer skuStatus;

    /** 批号 */
    @Excel(name = "批号")
    @ApiModelProperty(name = "批号")
    private String batchNo;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(name = "数量")
    private BigDecimal quantity;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "生产日期")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date produceDate;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "有效期")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaildDate;

    /** 货位编码 */
    @Excel(name = "货位编码")
    @ApiModelProperty(name = "货位编码")
    private String goodsPosition;

    /** 检验报告号 */
    @Excel(name = "检验报告号")
    @ApiModelProperty(name = "检验报告号")
    private String inspectionReportNumber;

    /** 数据状态 */
    @Excel(name = "数据状态")
    @ApiModelProperty(name = "数据状态")
    private String validityCode;

    /** 部门ID */
    @Excel(name = "部门ID")
    @ApiModelProperty(name = "部门ID")
    private Long deptId;

}
